package JAVASE512;

import java.util.Scanner;

public class JAVAifdemo {
    public static void main(String[] argc){
        //需求：输入女婿酒量。如果大于2斤，老丈人给出回应，反之不回应
        System.out.println("请输入女婿酒量：");
        Scanner sc=new Scanner(System.in);
        //1.键盘录入女婿酒量
        int wine=sc.nextInt();
        //2.判断是否>2
        if(wine>2){
            System.out.println("老丈人对你很满意");
        }
        if(wine<=2){
            System.out.println("不理你");
        }

    }
}
